#include<map>
#include<string>
using std::map;
using std::string;
class Configuration{
public:
    //创建单例对象
    static Configuration*getInstance();
    map<string,string>& getConfigMap();
private:
    Configuration(string path);
    Configuration(const Configuration&rhs)=delete;
    Configuration& operator=(const Configuration&rhs)=delete;
private:
    static Configuration* _instanceConfig;
    string _configFilePath;
    map<string,string> _configs;
};